<?php /*a:2:{s:66:"/www/wwwroot/delivery.1p23.com/app/admin/view/auth/rule/index.html";i:1731032240;s:61:"/www/wwwroot/delivery.1p23.com/app/admin/view/layout/vue.html";i:1731032240;}*/ ?>
<!DOCTYPE html>
<html <?php if($config['elementUi']['dark']): ?>class="dark"<?php endif; ?>>
<head>
<meta charset="utf-8">
<title><?php echo site_config('basic.sitename'); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">
<meta name="robots" content="noindex, nofollow">
<link rel="shortcut icon" href="<?php echo request()->domain(); ?>/favicon.ico" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/element-plus.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/theme/dark.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/libs/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" href="<?php echo request()->domain(); ?>/assets/css/yunqi.css" />

</head>
<body>
    <div id="app">
        <el-container id="container" style="display: none;">
            <el-main style="padding: 0px;border-radius:4px;">
                <el-scrollbar id="mainScrollbar">
                    
    <el-card shadow="never">
        <template #header>
            <el-alert effect="dark" :closable="false" title="使用说明">菜单规则包含两部分，(1)菜单(2)规则，菜单如果不存在子菜单，需要设置控制器与方法，表示点击菜单时访问位置。菜单仅提供显示功能，如果要设置访问位置的权限，需要继续配置规则。</el-alert>
        </template>
        <yun-table
                :columns="indexColumns"
                toolbar="refresh,add,edit,del,more"
                @render="onRender"
                ref="yuntable"
                :is-tree="true"
                :common-search="false"
                :pagination="false"
                :auth="{
                    add:<?php echo $auth->check('app\admin\controller\auth\Rule','add'); ?>,
                    edit:<?php echo $auth->check('app\admin\controller\auth\Rule','edit'); ?>,
                    del:<?php echo $auth->check('app\admin\controller\auth\Rule','del'); ?>,
                    multi:<?php echo $auth->check('app\admin\controller\auth\Rule','multi'); ?>
                }"
                :extend="extend">
                <template #formatter="item">
                    <div v-if="item.field=='icon'">
                        <i :class="item.rows.icon"></i>
                    </div>
                </template>
        </yun-table>
    </el-card>

                </el-scrollbar>
            </el-main>
        </el-container>
    </div>
</body>
<script type="text/javascript" src="<?php echo request()->domain(); ?>/assets/js/yunqi.js?v=<?php echo htmlentities((string) $config['version']); ?>"></script>
<script type="text/javascript">
    Yunqi.setConfig(<?php echo json_encode($config,JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES); ?>);
    Yunqi.setData(<?php echo build_var_json(get_defined_vars()); ?>);
</script>
<script type="module">
    import pageinfo from '<?php echo htmlentities((string) $config['baseUrl']); ?>ajax/js/4ab3adf890d50b7f11842527d9264fa6';
    import zhcn from '<?php echo request()->domain(); ?>/assets/js/zh-cn.js';
    try{
        Yunqi.setUp(pageinfo,zhcn);
    }catch (e){
        console.error(e);
    }
</script>
</html>
